<?php
/**
 * Created by PhpStorm.
 * User: ysk
 * Date: 2021/6/21
 * Time: 17:25
 */

namespace api\modules\v1\user\actions\Login;

use api\base\BaseApiParams;

class LoginParams extends BaseApiParams {

    public $phone;

    public $code;

    public function rules()
    {
        return [
            [['phone','code'],'required']
        ];
    }


    public function attributeLabels()
    {
        return [
            'phone'=>'手机号',
            'code'=>'Code'
        ];
    }


}
